package com.quan.system.utils;

/**
 * 菜单树转换对象
 * @author yhaoquan
 *
 */
public class AreaTreeNode {

	/**
	 * Code
	 */
	private Integer code;

	/**
	 * 父Code
	 */
	private Integer parentCode;

	/**
	 * 菜单名称
	 */
	private String name;

	public AreaTreeNode() {
	}
	
	public AreaTreeNode(Integer code, Integer parentCode, String name) {
		super();
		this.code = code;
		this.parentCode = parentCode;
		this.name = name;
	}

	@Override
	public String toString() {
		return "AreaTreeNode [code=" + code + ", parentCode=" + parentCode + ", name=" + name + "]";
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public Integer getParentCode() {
		return parentCode;
	}

	public void setParentCode(Integer parentCode) {
		this.parentCode = parentCode;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
